package com.yneusoft.pctask.model;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @Description： 员工登录传参
 * @Author: wbf
 * @Date: 2021/11/24 10:39
 */
@Data
public class StaffLoginParam {
    /**
     * 手机号码
     */
    @NotBlank(message = "手机号码不能为空！")
    @Length(max = 11,min = 11, message = "电话号码长度必须位11位")
    private String phone;
    /**
     * 登录密码
     */
    @NotBlank(message = "密码不能为空！")
    private String password;
    /**
     * imageCode
     */
    @NotBlank(message = "验证码不能为空！")
    private String imageCode;
    /**
     * uuid
     */
    @NotBlank(message = "异常操作请联系管理员！")
    private String imageCodeKey;
}
